
//内置类型
let b: Boolean = new Boolean(true);
let s: String = new String('iloveyou');
let n: Number = new Number(123);
let s2: string = '1231231';
let d: Date = new Date();

//DOM 类型
const div: HTMLElement = document.getElementById('test') as HTMLElement;